package com.jule.miaozhuapc.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the wawa_pay database table.
 * 	
 */
@Entity
@Table(name="wawa_pay")
@NamedQuery(name="WawaPay.findAll", query="SELECT w FROM WawaPay w")
public class WawaPay implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Long id;

	@Column(name = "addtime")
	@Temporal(TemporalType.TIMESTAMP)
	private Date addTime;

	@Column(name = "checktodayid")
	private Long checkTodayId;

	private int coin;

	@Column(name = "gamerecordid")
	private Long gameRecordId;

	@Column(name = "inviteuserid")
	private Long inviteUserId;

	@Column(name = "rechargeid")
	private Long rechargeId;

	@Column(name = "isdelete")
	private boolean isDelete;

	private double money;

	private String remark;

	private int type;

	@Column(name = "userid")
	private Long userId;

	public WawaPay() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Long getCheckTodayId() {
		return this.checkTodayId;
	}

	public void setCheckTodayId(Long checkTodayId) {
		this.checkTodayId = checkTodayId;
	}

	public int getCoin() {
		return this.coin;
	}

	public void setCoin(int coin) {
		this.coin = coin;
	}

	public Long getGameRecordId() {
		return this.gameRecordId;
	}

	public void setGameRecordId(Long gameRecordId) {
		this.gameRecordId = gameRecordId;
	}

	public Long getInviteUserId() {
		return this.inviteUserId;
	}

	public void setInviteUserId(Long inviteUserId) {
		this.inviteUserId = inviteUserId;
	}

	public boolean getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(boolean isDelete) {
		this.isDelete = isDelete;
	}

	public double getMoney() {
		return this.money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getType() {
		return this.type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRechargeId() {
		return rechargeId;
	}

	public void setRechargeId(Long rechargeId) {
		this.rechargeId = rechargeId;
	}
}